package com.ytjj.common.enums;

import lombok.Getter;

/**
 *
 */
@Getter
public enum ErrorMsgStatusEnum {

    ILLEGAL_OPERATION(80001,"非法操作！"),
    VERIFY_CODE_MIN_LIMIT(80002,"同一号码每分钟只能发送1条验证码!"),
    VERIFY_CODE_HOUR_LIMIT(80003,"同一号码每小时只能发送5条验证码!"),
    VERIFY_CODE_DAY_LIMIT(80004,"同一号码每天只能发送10条验证码!"),
    PHONE_ERROR(80005,"手机号码错误!"),
    SEND_ERROR(80006,"暂时未能发送验证码,稍后重试!"),
    SEND_FAIL(80007,"短信发送失败!"),
    UPLOAD_FILE_FAIL(80008,"上传文件失败!"),
    VERIFY_CODE_ERROR(80009,"验证码错误！"),
    STORE_CAPACITY_INSUFFICIENT(80010,"店铺储存空间不足，请订购存储空间后再进行上传！"),
    PHONE_EXIST(80011,"手机号已被绑定，请更换！"),

    ;

    private int status;
    private String msg;

    ErrorMsgStatusEnum(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }

}
